<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>

    <!-- 变量名由字母、数字、下划线、$符号组成，且不能以数字开头。若不满足则程序会报错
         不能是JS关键字或保留字  -->

</head>
<body>
    <script>
        var age,name;
        // var name='ZZC',age=99;

        age = 99;
        name = 'ZZC';

        console.log(age);
        console.log(name);

        // 按照变量的命名规范，请定义以下变量：
            // ●  用户名、密码、性别、爱好、得分、是否加载中、方向、（背）颜色、字体大小 
            let username = '张三';
            let password = 123456;
            let sex = '男';
            let hobby = ['eatFood','sports','listen music'];
            let score = 99;
            let isLoading = true;
            let direction = 'botton';
            let bgColor = 'red';
            let fontSize = '19px';
            // ●  是否记住、内容、汽车类型、是否完成、随机数、手机号、住址 
            let isRemember = false;
            let content = 'ZZC唉打CSGO';
            let carType = 'suv';
            let isDone = false;
            let randomNum = 12345;
            let phone = 18399998888;
            let address= '抚州市穷人县花苑小区'
            // ●  商品编号、分类名称、价格、库存、封面图、订单号、总价
            let goodsId = 6456;
            let sortType = '体育';
            let price = '9.9￥';
            let stock = 90;
            let coverMap = 'ZZC字画像';
            let orderNum = 65783;
            let totalPrice = 399;
    </script>
</body>
</html>